package com.czk.aop.entity;

import com.czk.anotation.MyLog;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;

/**
 * 被增强的类
 * @Author:ChenZhangKun
 * @Date: 2020/11/22 21:35
 */
@Component
public class User {
    public void add(){
        System.out.println("add");
    }
    //@MyLog
    public void delete(String name){
        System.out.println(name);
    }
}
